import styled from "styled-components";
import {Blue, BlueBackgroundColor, LightFontColor} from "@/style/Color";

export const SearchBarContainer = styled.div`
  width: 100%;
  height: auto;
  padding: 0 10px;
  color: ${LightFontColor};
  font-size: 13px;
  line-height: 50px;
  //border-bottom: 1px solid #d7d7d7;
  float: left;

  .ant-input {
    background: rgba(255, 255, 255, 0.85);
  }
`

export const TypeButton = styled.div`
  width: 100%;
  height: 100%;
  text-align: center;
  cursor: pointer;

  span {
    float: left;
    line-height: 30px;
    width: 100%;
    height: 30px;
    margin-top: 10px;
    border-radius: 5px;
    color: ${LightFontColor};
    transition: .3s ease-out;

    :hover {
      color: ${Blue};
      background-color: ${BlueBackgroundColor};
    }

    &.selected {
      background-color: ${Blue};
      color: ${BlueBackgroundColor};
    }
  }

`
